PHY SET CURRENT SCENE

Set the current scene.

  Syntax
PHY SET CURRENT SCENE index
  Parameters
index
Integer
index number of the scene, this can either be 1 or 2

  Returns

  Description

Whenever rigid bodies, fluids etc. are created they are added into the current scene. By default this is 0 and is the scene made in the call to phy start. When using multiple scenes this command is used to add objects into a specific scene for example, phy start is called and then later phy make scene. Objects can be added into the original scene and then into the new scene by calling phy set current scene and passing in an ID number of 1.

  Example Code
No example code is provided for this command